https://oftob.com/ru/задачник-абрамян-решебник/string/612-string-24
String 24